const agent = function () {
    const userAgent = navigator.userAgent.toLowerCase();
    const isWeChat = /micromessenger/.test(userAgent);

    if (isWeChat) {
        return true
    } else {
        return false
    }
}

export default agent